package com.plm.mqshequ.service;

import com.plm.mqshequ.entity.Role;
import com.plm.mqshequ.entity.User;

import java.util.List;

/**
 * @author Limi
 * @create 2019-01-15 12:05
 */
public interface RoleService {

    void add(Role role);

    void delete(Role role);

    void updateById(Role role);

    List<Role> query();

    Role queryById(String id);

    Role queryByRole(String role);

    Role queryByUId(String uid);

}
